# coding:utf-8 
from math import sqrt

a = float(input()); b = float(input()); c = float(input())

def roots(a,b,c):
#请在此添加代码，求方程 ax^2+bx+c = 0的解,返回由方程根构成的列表,若方程有无数解，返回['inf']
#********** Begin *********#

    delta = (b**2 - 4*a*c)
    if delta < 0:
        return ['inf']
    a1 = (-b + delta**0.5)/(2*a)
    a2 = (-b - delta**0.5)/(2*a)
    ans = []
    if a1 != a2:
        ans.append(a1)
        ans.append(a2)
    else:
        ans.append(a1)
    return ans




#********** End **********#
print (roots(a,b,c))
